mirror bugs in submitactivity js