Fixed stupid assertion issue