clone from pay4bugs fork