Assert and compile fix