fixed Z X
finished haivl mode