fixed static url
fixed setting state for undefined data