replace automatic generated stuff