fixed create task refreshing page