file path fix, ajax calls fix