fix some bugs with work positions