compiletime error fixes