fix stdin read with blank prompt