added safe option checker soptions()