Fix issue with 500 on mod creation