small bug fix in the system library to avoid back directory listings