fixed specialization problem