fixed some cms-specific paths