Fixed agent component bug