Fixed security issue reported by b_a_s_t_i Thx