fixed the jail definition so all resources are in order