limit popular song to 50, optimize song template