make err prop only accept certain sizes