added warning message when setPosition() is limited