* fix errors to pass compile