Fixed problem with not recognized error with leading or ending colon.