no debug and jpg broken fixed