fix ls problems