missing condition fixed