improved option and string checkers a bit