add size check back in by using %s
add size check back in by using %s