added warnings for the implementation of ParseObj