It is important to measure the ingredients precisely. If your butter is melted, it might cause the cookies to spread. Also do not use too much baking powder or self-raising flour. Use parchment paper to line your baking tray.