Fixed immediate bug