Remove some warns, change media path