Fix for pwd