fix symbol prefix check code