enable alpha test, fix errors for flags

:smile: