removing error print