path fix for imgs and home