fixing issue when running in development