added line to fix thin in production mode