added strip check