debugged compiletime errors