Fixed restrict obj publish