bug fixes, returns 100 result, registration tidied