fix #52 . was on check that assumed it was a string but was boolean