fixed prison bug