bugfix position bug, also add new option for overlap