fixed potential security risks