quick fix

- added condition for edit mode for previous fix to prevent script error
- finally added group 32