bug fixes in fake perception scripts