bugfix the position