=change error message in case of invalid position