adding agent module fix