fixing pwd