changed signal order to fix log order