fix company post function