Fixed problem with ls comparison