fixed serving of media and static files.