simplified check on clientside render