fixed system() backtick checking