fixed app crash after submit

made fix for new master checked it and worked check your database for new products before merge