fix config for static images