fix ctrl-z fg ctrl-z issue