fix box-position constructor