fixes bug that told users that their methods returned nil in all uncorrect cases