Fixed it the template bugs. Media dir missing.