fixed flash issue, updated some styles