fixed actions on layers generated by file upload