fixing build errors and disable caf display usage