Prepare code which can be used for bug reproduce