fix post create with different types