added check for empty string when requesting move