fixed built errors