added wehere statement for status
fixes