Removed unnecessary call to hide().