Fix issue with blank input