Fixed old style coding what was cause error on building