Fix module edit in admin

caused by c9b73530ef0f22b136871a113287ff3e127e1404