Fixed errors in file placement