Removed unnecessary error print.