add assignee nil check and work on front end