Fix seg fault??? lets hope