bug fixes concerning default ls