change how we check for a real path way