modified controlpad methods to make it can be used in every pages