If these issues have been raised with the sentencing court and the requested relief was denied, the next step would normally be to appeal. I suggest working with a lawyer.