bug fixed in Post model