some parsing safety