fixed dev loading on prod