fixing jail stuff