bug fixed config app for prod