fixed being able to create a task without a stage, or with a whitespace stage