solved generic warning