added error for dev only