Maybe this is the cause of the locking? im lost...