fix for users accidentally adding whitespace to their codes