fixed bugs, sorted issue with IR and sound data