Removed redundant error message