error fixed after deploying to staging server