corrected typo, and added debug for now