added commit after submit