fix approved? and submitted? functions