check if bind tries to bind a concrete class to another one