Fix assigning status